﻿#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QMap>
#include <QVariantMap>
#include "plugin_manager.h"
#include "i_algorithm_plugin.h"

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class QAction;

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private slots:
    void onPluginTriggered();

private:
    Ui::MainWindow *ui;
    QMap<QAction*, IAlgorithmPlugin*> pluginActions;
};

#endif // MAINWINDOW_H
